<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <title>hello</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
<div style="margin:0px auto; width:500px">

    <form action="updateCategory" method="post">

        name: <input name="name" th:value="${c.name}"/> <br/>

        <input name="id" type="hidden" th:value="${c.id}"/>
        <button type="submit">提交</button>

    </form>
</div>
</body>

</html>